# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=sound-theme-elementary
pkgver=1.1.0
pkgrel=2
pkgdesc='A bespoke sound for your theme'
arch=(any)
url=https://github.com/elementary/sound-theme
license=(GPL3)
groups=(pantheon)
makedepends=(
  git
  meson
)
_tag=88cb3a325995fcd5fe123f189062e3efb69972ca
source=(sound-theme-elementary::git+https://github.com/elementary/sound-theme.git#tag=${_tag})
sha256sums=(SKIP)

pkgver() {
  cd sound-theme-elementary
  git describe --tags
}

build() {
  arch-meson sound-theme-elementary build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et:
